#include<stdio.h>

	int Add(int output1,int output2 )
	{
    printf("outputting stuff from main input\v\n");
		printf("%d\n", output1);
		printf("%d\n", output2);
    int test2 = output1 + output2;
    printf("before_func_add\n");
    printf("%d\n",test2);
        printf("after_fucnt_add\n");
		return output1 + output2;
	}

	int main()
	{
		int answer, input1, input2;
    printf("Start of main. Enter two ints and press enter one after the other.\n");
		scanf("%d", &input1);
		scanf("%d", &input2);

 		printf("Calling function add which accepts output1 and output2\n");
    printf("The function add is reponsible for printing the output first\n");
    printf("It will then return the same input back to the function caller\n");
    printf("\v");

		answer = Add(input1,input2);
    printf("before_main\n");
    printf("%d  ok   --- \n ---- %d\n",input1,input2);
    printf("after_main\n");


		printf("Answer = %d\n", answer);
		return 0;
	}

